package com.example.baidumap_a.entity;

public class Charges {

    /**
     * id : 2
     * username : tom
     * charge : 10
     * chargeTime : 2020-05-24 09:50:08
     * chargeId : 6Wkv5JC2me1vR9t
     */

    private int id;
    private String username;
    private int charge;

    public Charges(int id, String username, int charge, String chargeTime, String chargeId) {
        this.id = id;
        this.username = username;
        this.charge = charge;
        this.chargeTime = chargeTime;
        this.chargeId = chargeId;
    }

    @Override
    public String toString() {
        return "Charges{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", charge=" + charge +
                ", chargeTime='" + chargeTime + '\'' +
                ", chargeId='" + chargeId + '\'' +
                '}';
    }

    private String chargeTime;
    private String chargeId;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getCharge() {
        return charge;
    }

    public void setCharge(int charge) {
        this.charge = charge;
    }

    public String getChargeTime() {
        return chargeTime;
    }

    public void setChargeTime(String chargeTime) {
        this.chargeTime = chargeTime;
    }

    public String getChargeId() {
        return chargeId;
    }

    public void setChargeId(String chargeId) {
        this.chargeId = chargeId;
    }
}
